-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for negative examples in one-class added #74
base: master
Are you sure you want to change the base?
Conversation
* learning now uses both positive and negaive examples * array y should contain +1s for positive examples and -1s for negative * based on the "One-class classification" thesis written by door David Martinus Johannes TAX
What's the reference of one-class svm with negative samples?
|
It is described in Section 2.2 of the thesis: |
Your modification doesn't solve their opt problem. See solve_one_class() in svm.cpp:
The init sol is under the assumption of e^Talpha = a positive constant. Theirs is an extension of SVDD so you should check the SVDD code in libsvmtools Lukáš Ondráček writes:
|
I am sorry for my poor knowledge of SVMs,
What does the e vector mean? Why should y be non-negative here, Maybe you have meant y instead of e;
Which part of code do you mean? In the thesis, |
(http://prlab.tudelft.nl/content/one-class-classification-1)